﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NDatabase.Api;

namespace NDatabase.Repository
{
    /// <summary>
    /// Entity Interface
    /// </summary>
    public interface IEntity
    {
        /// <summary>
        /// Gets the identifier.
        /// </summary>
        /// <value>
        /// The identifier.
        /// </value>
        string Id { get; }
    }

    /// <summary>
    /// Entity
    /// </summary>
    public class Entity : IEntity
    {
        /// <summary>
        /// Gets the identifier.
        /// </summary>
        /// <value>
        /// The identifier.
        /// </value>
        public string Id { get; internal set; }
    }
}
